package com.yunzheng.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunzheng.enums.ProjectStatusEnums;
import lombok.Data;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 郭思良
 * @create 2020-07-30 9:47
 */


@Data
@ExcelTarget("ProjectVO")
@Accessors(chain = true)
public class ProjectListVO implements Serializable {

    @Excel(name = "项目ID")
    private String projectId;

    @Excel(name = "项目等级")
    private Integer level;

    @Excel(name = "项目名")
    private String projectName;

    @Excel(name = "指导老师")
    private String partyA;

    @Excel(name = "项目负责人")
    private String projectManager;

    @Excel(name = "项目负责团队")
    private String team;

    @Excel(name = "项目进度")
    private Double projectProgress;

    @Excel(name = "项目阶段")
    private String planName;

    @Excel(name = "项目阶段进度")
    private Double planProgress;

    @Excel(name = "迭代数")
    private Integer iteration;

    @Excel(name = "当前迭代")
    private String nowIteration;

    @Excel(name = "项目状态")
    private String projectStatus;

    @Excel(name = "项目开始时间",databaseFormat = "yyyy-MM-dd", format = "yyyy-MM-dd", width = 20)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime startTime;

    @Excel(name = "项目结束时间",databaseFormat = "yyyy-MM-dd", format = "yyyy-MM-dd", width = 20)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime finishTime;

    @Excel(name = "工期")
    private String workTime;

}
